package com.mycompany.j2eem.Entity;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;

/**
 *
 * @author wucy
 */
@Data
public class PictureInfor {
    String picturepath;
    String TagName;
    
    List<String> TagList = new ArrayList<>();
    String favoriteNum;
    String likeNum;
    boolean isLike;
    boolean isFavorite;
    
    String id;
    String headpicture;
    String nickname;
    String fabunum;
    public void init(PersonalInformation personalInformation,String num){
        this.id = personalInformation.getAccount_id();
        this.headpicture = personalInformation.getPicture();
        this.nickname = personalInformation.getNickname();
        this.fabunum = num;
    }
}
